import hashlib
import _md5
from hashlib import md5, __get_builtin_constructor
import base64

if __name__ == '__main__':
    print(_md5.md5("ssss".encode("utf-8")).hexdigest().upper())
    # print(md5.new("ssss".encode("utf-8")).hexdigest().upper())
    print(__get_builtin_constructor("md5")("ssss".encode("utf-8")).hexdigest().upper())
    print(md5("ssss".encode("utf-8")).hexdigest().upper())

    string = base64.b64encode("8aaf07087249953401727f891c081c84:20200604234811".encode("utf-8")).strip().decode()
    print(string)
    import random

    print()
